package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TiDistrictCompany;
import com.tjmc.tiomscore.model.TiDistrictCompanyExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TiDistrictCompanyMapper {
    long countByExample(TiDistrictCompanyExample example);

    int deleteByExample(TiDistrictCompanyExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TiDistrictCompany record);

    int insertSelective(TiDistrictCompany record);

    List<TiDistrictCompany> selectByExample(TiDistrictCompanyExample example);

    TiDistrictCompany selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TiDistrictCompany record, @Param("example") TiDistrictCompanyExample example);

    int updateByExample(@Param("record") TiDistrictCompany record, @Param("example") TiDistrictCompanyExample example);

    int updateByPrimaryKeySelective(TiDistrictCompany record);

    int updateByPrimaryKey(TiDistrictCompany record);
}